package cn.jcby.app.lebu.service;

import cn.jcby.app.lebu.controller.req.BasicListReq;
import cn.jcby.app.lebu.controller.res.UploadFilesRes;
import cn.jcby.app.lebu.entity.UserAlbumEntity;
import cn.jcby.app.lebu.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 相册
 *
 * @author lht
 * @email 
 * @date 2023-12-07 15:13:35
 */
public interface UserAlbumService extends IService<UserAlbumEntity> {

    PageUtils queryPage(BasicListReq params);

    void add(UserAlbumEntity userAlbum) ;

    void updateBy(UserAlbumEntity userAlbum) ;

    List<UploadFilesRes> uploadFiles(MultipartFile[] files);

    UserAlbumEntity infoById(String id);

    void setAvatar(String id);
}

